package com.blackhorse.service;

/**
 * 用于测试Aop环绕通知
 */
public class AccountServiceImplArround implements AccountService {
    @Override
    public void saveAccount() {
        System.out.println("执行了保存");
        //制造异常
       // int a = 1 / 0;
    }

    @Override
    public void updateAccount(int i) {
        System.out.println("执行了更新:" + i);
    }

    @Override
    public int deleteAccount() {
        System.out.println("执行了删除");
        return 0;
    }
}
